#include "AudioVideoSource.h"
#include <QMediaContent>


AudioVideoSource::AudioVideoSource(const QString &fileName, const QString &stringId,
                             QMediaContent &mediaContent) :
   m_fileName(QString(fileName)),
   m_stringId(QString(stringId)),
   m_mediaConetnt(mediaContent)
{
}


QString AudioVideoSource::fileName() const
{
   return m_fileName;
}

QString AudioVideoSource::stringId() const
{
   return m_stringId;
}

QVariant AudioVideoSource::mediaContent() const
{
   return QVariant::fromValue<QMediaContent>(m_mediaConetnt);
}
